package com.by.core.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;




@ApiModel("分页Bean")
public class Page {

    @ApiModelProperty("当前页面，默认显示第1页")
    int page=1;
    @ApiModelProperty("每页记录数，默认每页10条记录")
    int pageSize=10;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }
}
